import axios from "../../utils/axios";
import qs from "qs";

export const getmatter = (payload) => {
  const url = "v1/matter/get";
  return axios.post(url, qs.stringify(payload));
};

export const addmatter = (payload) => {
  const url = "/v1/matter/add";
  return axios.post(url, qs.stringify(payload));
};
export const delmatter = (payload) => {
  const url = "v1/matter/del";
  return axios.post(url, qs.stringify(payload));
};
export const updatematter = (payload) => {
  const url = "v1/matter/update";
  return axios.post(url, qs.stringify(payload));
};
